<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>EOS.IO: exchange Namespace Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="eos-logo.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">EOS.IO
   &#160;<span id="projectnumber">DAWN3.0.1</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#typedef-members">Typedefs</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">exchange Namespace Reference</div>  </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structexchange_1_1buy__order.html">buy_order</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structexchange_1_1order__id.html">order_id</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structexchange_1_1sell__order.html">sell_order</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
Typedefs</h2></td></tr>
<tr class="memitem:aba2864a28e50db2eb847731636ae9132"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceexchange.html#aba2864a28e50db2eb847731636ae9132">eos_tokens</a> = eosio::tokens</td></tr>
<tr class="separator:aba2864a28e50db2eb847731636ae9132"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a88a7bba4166424f9bf3e8cfd9b352730"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="structeosio_1_1price.html">eosio::price</a>&lt; <a class="el" href="namespaceexchange.html#aba2864a28e50db2eb847731636ae9132">eos_tokens</a>, currency_tokens &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceexchange.html#a88a7bba4166424f9bf3e8cfd9b352730">price</a></td></tr>
<tr class="separator:a88a7bba4166424f9bf3e8cfd9b352730"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adb41f4587cd9eff3c812296383babc40"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceexchange.html#adb41f4587cd9eff3c812296383babc40">accounts</a> = <a class="el" href="structeosio_1_1table.html">eosio::table</a>&lt; <a class="el" href="group__types.html#gaf9c1edb0e0da55ec6ba09f32f6839529">N</a>(exchange), <a class="el" href="group__types.html#gaf9c1edb0e0da55ec6ba09f32f6839529">N</a>(exchange), <a class="el" href="group__types.html#gaf9c1edb0e0da55ec6ba09f32f6839529">N</a>(<a class="el" href="structaccount.html">account</a>), <a class="el" href="structaccount.html">account</a>, <a class="el" href="group__types.html#gaaa5d1cd013383c889537491c3cfd9aad">uint64_t</a> &gt;</td></tr>
<tr class="separator:adb41f4587cd9eff3c812296383babc40"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a4af1058806fad580b07a5da05729a6e0"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceexchange.html#a4af1058806fad580b07a5da05729a6e0">save</a> (const <a class="el" href="structaccount.html">account</a> &amp;a)</td></tr>
<tr class="separator:a4af1058806fad580b07a5da05729a6e0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a13d8f4e165215611a7879766e215b855"><td class="memTemplParams" colspan="2">template&lt;typename Lambda &gt; </td></tr>
<tr class="memitem:a13d8f4e165215611a7879766e215b855"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceexchange.html#a13d8f4e165215611a7879766e215b855">modify_account</a> (<a class="el" href="group__types.html#ga3b44deb4b3b8d6ebab339d1263692117">account_name</a> a, Lambda &amp;&amp;modify)</td></tr>
<tr class="separator:a13d8f4e165215611a7879766e215b855"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a32b7d74a91010152d37cace85418e6f7"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceexchange.html#a32b7d74a91010152d37cace85418e6f7">apply_currency_transfer</a> (const currency::transfer &amp;transfer)</td></tr>
<tr class="separator:a32b7d74a91010152d37cace85418e6f7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7b4f0fec8b7a1d9c97dc3f5127872297"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceexchange.html#a7b4f0fec8b7a1d9c97dc3f5127872297">apply_eos_transfer</a> (const eosio::transfer &amp;transfer)</td></tr>
<tr class="separator:a7b4f0fec8b7a1d9c97dc3f5127872297"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a15c24418c4ed503becae07191757dee2"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceexchange.html#a15c24418c4ed503becae07191757dee2">match</a> (bid &amp;bid_to_match, <a class="el" href="structaccount.html">account</a> &amp;buyer, ask &amp;ask_to_match, <a class="el" href="structaccount.html">account</a> &amp;seller)</td></tr>
<tr class="separator:a15c24418c4ed503becae07191757dee2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abaf272c3c6eb0eb097e95916798b6b14"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceexchange.html#abaf272c3c6eb0eb097e95916798b6b14">apply_exchange_buy</a> (<a class="el" href="structexchange_1_1buy__order.html">buy_order</a> order)</td></tr>
<tr class="separator:abaf272c3c6eb0eb097e95916798b6b14"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3832570cd9040ea2ceb28c4e43028a5e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceexchange.html#a3832570cd9040ea2ceb28c4e43028a5e">apply_exchange_sell</a> (<a class="el" href="structexchange_1_1sell__order.html">sell_order</a> order)</td></tr>
<tr class="separator:a3832570cd9040ea2ceb28c4e43028a5e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a539153eabc5f4d000b83633a50d78105"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceexchange.html#a539153eabc5f4d000b83633a50d78105">apply_exchange_cancel_buy</a> (<a class="el" href="structexchange_1_1order__id.html">order_id</a> order)</td></tr>
<tr class="separator:a539153eabc5f4d000b83633a50d78105"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab6a1d78f1483a78bf31301a3a175d0ff"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceexchange.html#ab6a1d78f1483a78bf31301a3a175d0ff">apply_exchange_cancel_sell</a> (<a class="el" href="structexchange_1_1order__id.html">order_id</a> order)</td></tr>
<tr class="separator:ab6a1d78f1483a78bf31301a3a175d0ff"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afbd856f171f74f0de6ff059c7d591ca4"><td class="memItemLeft" align="right" valign="top">struct&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceexchange.html#afbd856f171f74f0de6ff059c7d591ca4">PACKED</a> (bid)</td></tr>
<tr class="separator:afbd856f171f74f0de6ff059c7d591ca4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a57a2d7c8a19a879af27af1b50e316060"><td class="memItemLeft" align="right" valign="top">struct&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceexchange.html#a57a2d7c8a19a879af27af1b50e316060">PACKED</a> (ask)</td></tr>
<tr class="separator:a57a2d7c8a19a879af27af1b50e316060"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3946d2bf901df155f2a9a04e5676cbdd"><td class="memItemLeft" align="right" valign="top">struct&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceexchange.html#a3946d2bf901df155f2a9a04e5676cbdd">PACKED</a> (<a class="el" href="structaccount.html">account</a>)</td></tr>
<tr class="separator:a3946d2bf901df155f2a9a04e5676cbdd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0076daa53f834bf9095e4691d6b83add"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceexchange.html#a0076daa53f834bf9095e4691d6b83add">TABLE2</a> (bids, exchange, exchange, bids, bid, bids_by_id, <a class="el" href="structexchange_1_1order__id.html">order_id</a>, bids_by_price, <a class="el" href="namespaceexchange.html#a88a7bba4166424f9bf3e8cfd9b352730">price</a>)</td></tr>
<tr class="separator:a0076daa53f834bf9095e4691d6b83add"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a41a85ebd8aec9d2065acc9ea8599e6cb"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceexchange.html#a41a85ebd8aec9d2065acc9ea8599e6cb">TABLE2</a> (asks, exchange, exchange, asks, ask, asks_by_id, <a class="el" href="structexchange_1_1order__id.html">order_id</a>, asks_by_price, <a class="el" href="namespaceexchange.html#a88a7bba4166424f9bf3e8cfd9b352730">price</a>)</td></tr>
<tr class="separator:a41a85ebd8aec9d2065acc9ea8599e6cb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9175b05eb9893758d187b743ce208583"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structaccount.html">account</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceexchange.html#a9175b05eb9893758d187b743ce208583">get_account</a> (<a class="el" href="group__types.html#ga3b44deb4b3b8d6ebab339d1263692117">account_name</a> owner)</td></tr>
<tr class="separator:a9175b05eb9893758d187b743ce208583"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Typedef Documentation</h2>
<a id="adb41f4587cd9eff3c812296383babc40"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adb41f4587cd9eff3c812296383babc40">&#9670;&nbsp;</a></span>accounts</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">using <a class="el" href="namespaceexchange.html#adb41f4587cd9eff3c812296383babc40">exchange::accounts</a> = typedef <a class="el" href="structeosio_1_1table.html">eosio::table</a>&lt;<a class="el" href="group__types.html#gaf9c1edb0e0da55ec6ba09f32f6839529">N</a>(exchange),<a class="el" href="group__types.html#gaf9c1edb0e0da55ec6ba09f32f6839529">N</a>(exchange),<a class="el" href="group__types.html#gaf9c1edb0e0da55ec6ba09f32f6839529">N</a>(<a class="el" href="structaccount.html">account</a>),<a class="el" href="structaccount.html">account</a>,<a class="el" href="group__types.html#gaaa5d1cd013383c889537491c3cfd9aad">uint64_t</a>&gt;</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="aba2864a28e50db2eb847731636ae9132"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aba2864a28e50db2eb847731636ae9132">&#9670;&nbsp;</a></span>eos_tokens</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">using <a class="el" href="namespaceexchange.html#aba2864a28e50db2eb847731636ae9132">exchange::eos_tokens</a> = typedef eosio::tokens</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a88a7bba4166424f9bf3e8cfd9b352730"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a88a7bba4166424f9bf3e8cfd9b352730">&#9670;&nbsp;</a></span>price</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="el" href="structeosio_1_1price.html">eosio::price</a>&lt;<a class="el" href="namespaceexchange.html#aba2864a28e50db2eb847731636ae9132">eos_tokens</a>,currency_tokens&gt; <a class="el" href="namespaceexchange.html#a88a7bba4166424f9bf3e8cfd9b352730">exchange::price</a></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Function Documentation</h2>
<a id="a32b7d74a91010152d37cace85418e6f7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a32b7d74a91010152d37cace85418e6f7">&#9670;&nbsp;</a></span>apply_currency_transfer()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void exchange::apply_currency_transfer </td>
          <td>(</td>
          <td class="paramtype">const currency::transfer &amp;&#160;</td>
          <td class="paramname"><em>transfer</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>This method is called after the "transfer" action of code "currencya" is called and "exchange" is listed in the notifiers. </p>
<p>require the receiver of funds (account owner) to authorize this transfer </p>

</div>
</div>
<a id="a7b4f0fec8b7a1d9c97dc3f5127872297"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7b4f0fec8b7a1d9c97dc3f5127872297">&#9670;&nbsp;</a></span>apply_eos_transfer()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void exchange::apply_eos_transfer </td>
          <td>(</td>
          <td class="paramtype">const eosio::transfer &amp;&#160;</td>
          <td class="paramname"><em>transfer</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>This method is called after the "transfer" action of code "currencya" is called and "exchange" is listed in the notifiers. </p>
<p>require the receiver of funds (account owner) to authorize this transfer </p>

</div>
</div>
<a id="abaf272c3c6eb0eb097e95916798b6b14"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abaf272c3c6eb0eb097e95916798b6b14">&#9670;&nbsp;</a></span>apply_exchange_buy()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void exchange::apply_exchange_buy </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structexchange_1_1buy__order.html">buy_order</a>&#160;</td>
          <td class="paramname"><em>order</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a539153eabc5f4d000b83633a50d78105"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a539153eabc5f4d000b83633a50d78105">&#9670;&nbsp;</a></span>apply_exchange_cancel_buy()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void exchange::apply_exchange_cancel_buy </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structexchange_1_1order__id.html">order_id</a>&#160;</td>
          <td class="paramname"><em>order</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="ab6a1d78f1483a78bf31301a3a175d0ff"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab6a1d78f1483a78bf31301a3a175d0ff">&#9670;&nbsp;</a></span>apply_exchange_cancel_sell()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void exchange::apply_exchange_cancel_sell </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structexchange_1_1order__id.html">order_id</a>&#160;</td>
          <td class="paramname"><em>order</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a3832570cd9040ea2ceb28c4e43028a5e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3832570cd9040ea2ceb28c4e43028a5e">&#9670;&nbsp;</a></span>apply_exchange_sell()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void exchange::apply_exchange_sell </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structexchange_1_1sell__order.html">sell_order</a>&#160;</td>
          <td class="paramname"><em>order</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a9175b05eb9893758d187b743ce208583"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9175b05eb9893758d187b743ce208583">&#9670;&nbsp;</a></span>get_account()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structaccount.html">account</a> exchange::get_account </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__types.html#ga3b44deb4b3b8d6ebab339d1263692117">account_name</a>&#160;</td>
          <td class="paramname"><em>owner</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a15c24418c4ed503becae07191757dee2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a15c24418c4ed503becae07191757dee2">&#9670;&nbsp;</a></span>match()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void exchange::match </td>
          <td>(</td>
          <td class="paramtype">bid &amp;&#160;</td>
          <td class="paramname"><em>bid_to_match</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structaccount.html">account</a> &amp;&#160;</td>
          <td class="paramname"><em>buyer</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">ask &amp;&#160;</td>
          <td class="paramname"><em>ask_to_match</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structaccount.html">account</a> &amp;&#160;</td>
          <td class="paramname"><em>seller</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>complete fill of ask_to_match</p>
<p>complete fill of buy </p>

</div>
</div>
<a id="a13d8f4e165215611a7879766e215b855"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a13d8f4e165215611a7879766e215b855">&#9670;&nbsp;</a></span>modify_account()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Lambda &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void exchange::modify_account </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__types.html#ga3b44deb4b3b8d6ebab339d1263692117">account_name</a>&#160;</td>
          <td class="paramname"><em>a</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Lambda &amp;&amp;&#160;</td>
          <td class="paramname"><em>modify</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="afbd856f171f74f0de6ff059c7d591ca4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afbd856f171f74f0de6ff059c7d591ca4">&#9670;&nbsp;</a></span>PACKED() <span class="overload">[1/3]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">struct exchange::PACKED </td>
          <td>(</td>
          <td class="paramtype">bid&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a57a2d7c8a19a879af27af1b50e316060"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a57a2d7c8a19a879af27af1b50e316060">&#9670;&nbsp;</a></span>PACKED() <span class="overload">[2/3]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">struct exchange::PACKED </td>
          <td>(</td>
          <td class="paramtype">ask&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a3946d2bf901df155f2a9a04e5676cbdd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3946d2bf901df155f2a9a04e5676cbdd">&#9670;&nbsp;</a></span>PACKED() <span class="overload">[3/3]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">struct exchange::PACKED </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structaccount.html">account</a>&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a4af1058806fad580b07a5da05729a6e0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4af1058806fad580b07a5da05729a6e0">&#9670;&nbsp;</a></span>save()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void exchange::save </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structaccount.html">account</a> &amp;&#160;</td>
          <td class="paramname"><em>a</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a0076daa53f834bf9095e4691d6b83add"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0076daa53f834bf9095e4691d6b83add">&#9670;&nbsp;</a></span>TABLE2() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">exchange::TABLE2 </td>
          <td>(</td>
          <td class="paramtype">bids&#160;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">exchange&#160;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">exchange&#160;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bids&#160;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bid&#160;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bids_by_id&#160;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structexchange_1_1order__id.html">order_id</a>&#160;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bids_by_price&#160;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespaceexchange.html#a88a7bba4166424f9bf3e8cfd9b352730">price</a>&#160;</td>
          <td class="paramname">&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a41a85ebd8aec9d2065acc9ea8599e6cb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a41a85ebd8aec9d2065acc9ea8599e6cb">&#9670;&nbsp;</a></span>TABLE2() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">exchange::TABLE2 </td>
          <td>(</td>
          <td class="paramtype">asks&#160;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">exchange&#160;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">exchange&#160;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">asks&#160;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">ask&#160;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">asks_by_id&#160;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structexchange_1_1order__id.html">order_id</a>&#160;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">asks_by_price&#160;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespaceexchange.html#a88a7bba4166424f9bf3e8cfd9b352730">price</a>&#160;</td>
          <td class="paramname">&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.13
</small></address>
</body>
</html>
